.builder-information {
  position: absolute;
  // overflow: hidden;
  right: 0;
  width: 300px;
  height: 100vh;
  margin: 0;
  padding: 0;
  clear: both;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px #aaa;
  background-color: #ddd;
  user-select: none;
  z-index: 101;

  .co-title {
    color: #eee;
  }

  .control-bar {
    position: relative;
    top: 0;
    padding-left: 10px;
    .ctrl-bar-close {
      color: #eee;
      cursor: pointer;
      width: 24px;
      height: 24px;
      background: #e30000;
      text-align: center;
      &:hover {
        color: #fff;
      }
    }
  }

  .builder-information-body {
    width: 100%;
    height: 100%;
    // padding-left: 10px;
    // padding-right: 10px;
  }

  .information-group {
    width: 100%;
    background: #fff;
    margin-bottom: 10px;
    .information-group-title {
      height: 32px;
      line-height: 32px;
      padding-left: 10px;
      font-weight: bold;
      border-bottom: 1px solid #ccc;
    }
    .information-group-body {
      width: 100%;
      height: 100%;
      padding-bottom: 10px;
    }
    &:first-child > .information-group-body,
    .information-group-title + .information-group-body {
      padding-top: 10px;
    }
    &+.information-group {

    }
  }

  .form-item-control {
    >.row {
      padding-left: 0;
      padding-right: 0;
    }
  }
}

.cb-input,
.cb-select {
  width: 100%;
  height: 28px;
  padding: 0 10px;
}

#information {
  width: 100%;
  height: 100%;
  cursor: initial;
}

.tabs {
  width: 100%;
  height: 100%;
  &-header {
    width: 100%;
    padding: 0 10px;
    height: 40px;
  }

  &-title {
    display: inline-flex;
    flex: 1;
    height: 40px;
    margin-right: 5px;
    border-bottom: 1px solid transparent;
    &.title-active {
      color: #0f7ee0;
      border-bottom: 1px solid #0f7ee0;
    }
    &:hover {
      // background: #f6f6f6;
    }
  }

  &-action {
    .action-icon {
      cursor: pointer;
      &:hover {
        fill: #0f7ee0;
      }
    }
  }

  &-header {
    // display: flex;
    .header-content {
      display: flex;
      text-align: left;
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
    }
    .header-content-inner {
      display: flex;
      flex: 1;
      overflow: hidden;
    }
    .header-action {
      width: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      .action-add {
        width: 24px;
        height: 24px;
        cursor: pointer;
        &:hover {
          background: #fff;
        }
      }
    }
    .tabs-title-action {
      display: flex;
      justify-content: center;
      align-items: center;
      .action-remove {
        width: 20px;
        height: 20px;
        font-size: 16px;
        padding-left: 4px;
        padding-right: 6px;
        cursor: pointer;

        &:hover {
          fill: #c20000;
        }
      }
    }
  }

  &-body {
    // overflow: hidden;
    // overflow-y: auto;
    height: calc(100% - 40px);
  }

  .tab-item {
    width: 100%;
    &:not(.tab-active) {
      display: none;
    }
  }

  .btn-add {
    width: 100%;
    border: none;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

/*.tab-active {
  display: block;
}*/

.form-item {
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  &-label {
    white-space: nowrap;
  }
  &-control {
    text-align: right;
    &.readonly {
      padding-right: 10px;
      user-select: text;
      cursor: text;
    }
    .cb-input {
      text-align: right;
    }

    .form-item-label {
      font-weight: lighter;
      color: #666;
      font-size: 14px;
    }
  }
  &-action {
    display: flex;
    height: 36px;

    justify-content: flex-end;
    align-items: center;
    flex: 1;
    .action-add {
      width: 24px;
      height: 24px;
    }
  }

  &.flex-col {
    width: 100%;
    height: initial;
    justify-content: flex-start;
    > div {
      width: 100%;
    }
  }
}
